<%@page import="java.text.SimpleDateFormat"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@page import="sever.Fenye,entity.Student,java.util.*"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
         <table border="1" cellpadding="0" cellspacing="0">
   
            
             <%
             
               Fenye f=new Fenye();
             SimpleDateFormat d=new SimpleDateFormat("yyyy-MM-dd");
            
             List<Student> list=f.search(3, 5, 1, "李", "1", "1", new Date(100, 5, 6));
             for(Student s:list){
            	 %>
            	 <tr>
            	   <td><%=s.getId() %></td>
            	  <td><%=s.getSname() %></td>
            	   <td><%=s.getTelephone() %></td> 
            	   <td><%=s.getQq() %></td>
            	   <td><%=s.getEnterdate() %></td>
            	 </tr>
            	 <%} %>
             
         </table>
</body>
</html>